package com.mdd.front.validate;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 发放优惠券优惠券参数
 * @author panweiliang
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CouponReceiveParam extends BaseParam {

//    @NotNull(message = "用户不能为空", groups = {create.class, update.class})
//    private Integer userId;

    @NotNull(message = "请选择优惠券", groups = {create.class, update.class})
    private Integer couponId;

}
